package com.zkyc.framework.algorithm.client;

import com.zkyc.framework.common.constant.Constant;
import com.zkyc.framework.common.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Service
@FeignClient(value = Constant.SERVICE_USER, contextId = "demoService", fallback = DemoServiceFallBack.class)
public interface DemoService {

    @GetMapping("/user/demo")
    ResultVO<?> demo(@RequestParam("tag") String tag);

}
